/**
 * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
.api-subscribe__header {
  background-color: var(--gv-theme-color-dark);
  color: var(--gv-theme-font-color-light);
  padding: 2rem var(--gv-theme-layout--pr, 4rem) 1rem var(--gv-theme-layout--pl, 4rem);
  letter-spacing: 0.05em;
}

.page__content {
  display: flex;
}

.api-subscribe__content {
  background-color: var(--gv-theme-neutral-color-lightest);
  margin-right: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.step-content {
  padding: 2rem 3rem;
}

.step {
  display: none;
  opacity: 0;
}

.one .step-1,
.two .step-2,
.three .step-3 {
  display: block;
  opacity: 1;
  animation: fade-in 0.2s ease-in;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.actions {
  display: flex;
  justify-content: space-between;
  --gv-button--fz: var(--gv-theme-font-size-l);
  border-top: 1px solid var(--gv-theme-neutral-color-dark);
  padding: 2rem 3rem;
}

.message {
  padding: 2rem;
  text-align: center;
  border-radius: 2px;
  background-color: var(--gv-theme-neutral-color-lighter);
  font-size: var(--gv-theme-font-size-m);
  line-height: 22px;
  margin-bottom: 16px;
}

.general_conditions {
  margin: 1rem 0.2rem;
  box-sizing: border-box;
  border-left: 6px double var(--gv-theme-neutral-color-dark);
  font-size: var(--gv-theme-font-size-m);
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 350px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.subscription-accepted {
  background-color: var(--gv-theme-color);
  color: var(--gv-theme-font-color-light);
  margin-bottom: 4rem;
  --gv-icon--c: var(--gv-theme-font-color-light);
}

.subscription-accepted gv-input {
  margin-left: 10px;
  width: 280px;
  --gv-icon--c: var(--gv-theme-font--c);
}

.step-3 .subscription-accepted a {
  color: var(--gv-theme-font-color-light);
}

.step-3 .success-icon {
  --gv-icon--s: 128px;
}

.step-3 a {
  color: var(--gv-theme-font--c);
  text-decoration: none;
  --gv-icon--s: 24px;
}

.success-links {
  display: flex;
  margin-top: 5rem;
  font-weight: bold;
}

.success-links a {
  flex: 1;
}

.step-2 gv-select,
.step-2 gv-text {
  width: 100%;
}

.api-subscribe__stepper {
  display: flex;
  border-bottom: 1px solid var(--gv-theme-neutral-color-dark);
  padding: 2rem 1rem 1rem 1rem;
}

.api-subscribe__stepper gv-stepper {
  flex: 1;
  margin-top: 2rem;
}

aside {
  display: flex;
  flex-direction: column;
}

.info {
  margin: 12px 0;
}

.info__description {
  background-color: var(--gv-theme-neutral-color-lighter, #fafafa);
  border-radius: 2px;
  margin-top: 0px;
  padding: 16px;
}

.info__resources span {
  white-space: normal;
  text-align: left;
}

.info h4 {
  margin-bottom: 10px;
}

.link,
.link:visited {
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.15s ease-in;
  text-decoration: none;
}

.link:hover {
  opacity: 0.7;
  transition: opacity 0.15s ease-in;
}
